package com.share.um

import android.app.Activity
import com.umeng.socialize.UMShareListener
import com.umeng.socialize.bean.SHARE_MEDIA
import java.lang.ref.WeakReference

/**
 * Created by zhudongao
 * Desc
 * Date 2/26/21
 */
class ShareListener(val activity: Activity): UMShareListener {
    private var mActivity:WeakReference<Activity> = WeakReference(activity)

    override fun onStart(p0: SHARE_MEDIA?) {

    }

    override fun onResult(p0: SHARE_MEDIA?) {

    }

    override fun onError(p0: SHARE_MEDIA?, p1: Throwable?) {

    }

    override fun onCancel(p0: SHARE_MEDIA?) {

    }
}